﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class CongVanDiDTO
    {
        int _ID;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        int _stt;

        public int Stt
        {
            get { return _stt; }
            set { _stt = value; }
        }
        DateTime _ngayLuu;

        public DateTime NgayLuu
        {
            get { return _ngayLuu; }
            set { _ngayLuu = value; }
        }
        string _soKyHieuVanBan;

        public string SoKyHieuVanBan
        {
            get { return _soKyHieuVanBan; }
            set { _soKyHieuVanBan = value; }
        }
        string _noiDung;

        public string NoiDung
        {
            get { return _noiDung; }
            set { _noiDung = value; }
        }
        LoaiDiDTO _loai;

        public LoaiDiDTO Loai
        {
            get { return _loai; }
            set { _loai = value; }
        }
        string _ghiChu;

        public string GhiChu
        {
            get { return _ghiChu; }
            set { _ghiChu = value; }
        }
        int _soLuong;

        public int SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }
        DateTime? _ngayKy;

        public DateTime? NgayKy
        {
            get { return _ngayKy; }
            set { _ngayKy = value; }
        }
        NguoiDTO _nguoiKy;

        public NguoiDTO NguoiKy
        {
            get { return _nguoiKy; }
            set { _nguoiKy = value; }
        }
        List<NoiNhanDTO> _noiNhan;

        public List<NoiNhanDTO> NoiNhan
        {
            get { return _noiNhan; }
            set { _noiNhan = value; }
        }
        public CongVanDiDTO()
        {
            _ghiChu = "";
            _ID = 0;
            _loai = null;
            _ngayLuu = DateTime.Today;
            _ngayKy = null;
            _nguoiKy = null;
            _noiDung = "";
            _soKyHieuVanBan = "";
            _stt = 0;
            _soLuong = 0;
            _noiNhan = new List<NoiNhanDTO>();
        }

    }
}
